package com.haipumi.biz.impl;

import java.util.List;

import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.haipumi.beans.haipumi_chatInfo;
import com.haipumi.biz.IBackChatInfoBiz;
import com.haipumi.dao.IBackChatInfoDao;
import com.haipumi.mapper.ActivityMapper;
import com.haipumi.mapper.ChatInfoMapper;


@Repository("backChatInfoBiz")
public class BackChatInfoBizImpl implements IBackChatInfoBiz {

	@Autowired
	ChatInfoMapper chatInfoMapper;
	
	@Override
	public List<haipumi_chatInfo> findAllChatInfo() {
		List<haipumi_chatInfo>chatinfolist=null;
		chatinfolist=chatInfoMapper.findAllChatInfo();
		return chatinfolist;
	}

	
	@Override
	public int countAllChatInfo() {
		return chatInfoMapper.countAllChatInfo();
	}

}
